debian/rules: Do not manually build docs at build phase
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 7 Jul 2021 18:11:27 +0000 (20:11 +0200)
committerMarco Trevisan (Treviño) <marco@ubuntu.com>
Fri, 9 Jul 2021 14:02:45 +0000 (16:02 +0200)
This is now handled by gi-docgen that is called at build phase, not at
install phase.

debian/rules

index c6d8846b07e843bfb7745d4e6c04c4f52ba8abf0..a43364f82185d37cdfe89486f141556db03b6598 100755 (executable)
@@ -170,14 +170,6 @@ endif
 
 override_dh_auto_build:
        dh_auto_build --builddirectory=debian/build/deb
-ifneq ($(filter %-doc,$(built_binaries)),)
-       # Explicitly build the documentation: otherwise it's done as a
-       # side-effect of the install step, which doesn't respect the
-       # dependencies that generate Docbook files from markdown.
-       # https://github.com/mesonbuild/meson/issues/1844
-       # https://github.com/mesonbuild/meson/issues/5793
-       dh_auto_build --builddirectory=debian/build/deb -- gdk4-doc gsk4-doc gtk4-doc
-endif
 ifneq ($(filter %-udeb,$(built_binaries)),)
        dh_auto_build --builddirectory=debian/build/udeb
 endif